<?php
/**
 * Created by PhpStorm.
 * User: zz
 * Date: 2018/3/7
 * Time: 17:41
 */
class operate{
    public function getLastLatitude($con){
        $sql="select Latitude from showlocationintime order by ID DESC LIMIT 1";
        $result=mysqli_query($con,$sql);
        return $result;
    }
    public function getLastLongitude($con){
        $sql="select Longitude from showlocationintime order by ID DESC LIMIT 1";
        $result=mysqli_query($con,$sql);
        return $result;
    }
}
?>